Cloudinary\UI\Component B

Total Complexity 94
Dependencies 2
Dependents 1
Total lines 851
Lines of code 450
Logical lines of code 201
Comment lines 304
Methods 38
Properties 8

Methods 38

Method Rating Maintainability Complexity Lines of code
setup_component_parts()
S
38 2 102
has_content()
S
60 7 12
prepare_struct_array()
S
56 5 18
compile_part()
S
59 5 14
__construct()
S
54 4 20
conditional()
S
56 4 18
init()
S
57 4 17
build_attributes()
S
59 4 14
settings()
S
62 4 11
build_struct()
S
57 3 17
get_part()
S
57 3 17
render()
S
58 3 16
handle_structure()
S
64 4 9
build_tag()
S
63 4 10
get_state()
S
60 3 14
__call()
S
62 3 11
tooltip()
S
56 2 19
is_struct_array()
S
77 3 3
add_content()
S
68 3 7
is_void_element()
S
57 1 19
icon()
S
66 2 8
close_tag()
S
71 2 5
open_tag()
S
72 2 5
compile_structures()
S
73 2 5
is_enabled()
S
68 2 7
setup()
S
91 1 2
title()
S
75 1 4
get_value()
S
81 1 3
dashicon()
S
70 1 6
image_icon()
S
72 1 5
sanitize_value()
S
80 1 3
compile_html()
S
75 1 4
compile_tag()
S
74 1 4
register_component_part()
S
65 1 9
is_component_type()
S
74 1 4
enqueue_scripts()
S
91 1 2
body()
S
76 1 4
pre_render()
S
91 1 2